@echo off

caxe -tc 4 src cx-src
haxe -cp src -main Main -neko bin/caxe.n
if errorlevel 1 goto fail
nekotools boot bin/caxe.n

goto end

:fail

pause
goto end

:end